package com.ljw.i18demo.controller;

import com.ljw.i18demo.bo.HiDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

/**
 * @Author LiuJunWen
 * @Date 2020/5/19 22:34
 */
@RestController
@RequestMapping("/")
public class HelloController {

    @PostMapping("hello")
    public Object sayHello(@Valid HiDto dto){
        return null;
    }
}
